package com.itheima.service.mongo;

import com.itheima.domain.mongo.Comment;
import com.itheima.domain.vo.PageBeanVo;

public interface CommentService {
    //保存
    Integer saveComment(Comment comment);

    //取消
    Integer removeComment(Integer CommentType , String publishId , Long userId );

    //查询评论数
    PageBeanVo findCommentByPage(String publishId , Integer pageNum , Integer pageSize );

    //点赞、喜欢、评论数
    PageBeanVo findCommentNum(Integer commentType ,Long publishUserId,Integer pageNum , Integer pageSize);

}
